/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo04_switch {
    public static void main(String[] args) {

        int week = 10;

        switch (week) {

            case 1:
                System.out.println("星期1！");
                break;
            case 2:
                System.out.println("星期2！");
                break;
            case 3:
                System.out.println("星期3！");
                break;
            case 4:
                System.out.println("星期4！");
                break;
            case 5:
                System.out.println("星期5！");
                break;
            case 6:
                System.out.println("星期6！");
                break;
            case 7:
                System.out.println("星期天！");
                break;
            default:
                System.out.println("输出错误！");
                break;
        }

        System.out.println("程序结束！");

    }
}
